package com.hnd.springframework.beans.factory.support;

import com.hnd.springframework.beans.BeansException;
import com.hnd.springframework.beans.factory.config.BeanDefinition;

public interface BeanDefinitionRegistry {
    void registryBeanDefinition(String beanName, BeanDefinition beanDefinition);
    void registryBeanDefinition(BeanDefinition beanDefinition);
    BeanDefinition getBeanDefinition(String beanName)throws BeansException;

    boolean containBeansDefinition(String beanName);

    String [] getBeanNames();
}
